Applet Security Indicators
When you set up an applet security data structure, you must use theJMNetworkSecurityOptions
type to specify the security level for the applet when accessing a network.
enum JMNetworkSecurityOptions { eNoNetworkAccess = 0, eAppletHostAccess, eUnrestrictedAccess };Constant descriptions
In addition, you must use the
eNoNetworkAccess
- The applet cannot access any networks.
eAppletHostAccess
- The applet may access only its host server.
eUnrestrictedAccess
- The applet has unrestricted access to all networks.
JMFileSystemOptions
type to specify the security level allowed for applets accessing the local file system.
enum JMFileSystemOptions { eNoFSAccess = 0, eLocalAppletAccess, eAllFSAccess };Constant descriptions
See "The AWT Context" for more information about using these security indicator types.
eNoFSAccess
- Applets have no access to the local file system.
eLocalAppletAccess
- Only applets that are stored locally may access the local file system.
eAllFSAccess
- All applets have access to the local file system.